<template>
	<view>
		<u-search v-model="no"></u-search>
		<view class="s1">
			<text>{{date.company.name}}</text>
			<image :src="'http://124.93.196.45:10001'+date.company.imgUrl" style="height: 200px;"></image>
		</view>
		<text style="font-size: 30px; font-weight: 550;">物流派送</text>
		<u-button type="primary" text="投诉" style="margin-top: 20px;" @click="tonext"></u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				no:0,
				date:{}
			}
		},
		onLoad(options) {
			this.getdate()
			this.no=options.no
			console.log(this.no)
		},
		methods: {
			getdate(){
				this.api.get('/prod-api/api/logistics-inquiry/logistics_info/ST0000001').then(res=>{
					console.log(res.data)
					this.date=res.data.data
					console.log(this.date)
				})
			},
			tonext(){
				uni.navigateTo({
					url:'/pages/other/wuliu/wuliutousu/wuliutousu'
				})
			}
		}
	}
</script>

<style lang="scss">
.s1{
	font-size: 24px;
	text-align: center;
}
</style>
